package net.lanelife.casino.caipiao.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import net.lanelife.casino.common.entity.support.CheckableEntity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "TB_DIGITAL_SELECTOR")
public class DigitalSelector extends CheckableEntity<Integer> implements Selector {

	private static final long serialVersionUID = -9208157687630898860L;
	
	@Column(name = "RULE_ID", nullable = false)
	private Integer ruleId;

	@Column(name = "TITLE", length = 10, nullable = false)
	private String title;
	
	@Column(name = "NO", length = 100, nullable = false)
	private String no;
	
	@Column(name = "WRAP", nullable = false)
	private Integer wrap;
	
	@Column(name = "BIG", length = 50, nullable = false)
	private String big;
	
	@Column(name = "EVEN", length = 50, nullable = false)
	private String even;
	
	@Column(name = "MINCHOSEN", nullable = false)
	private Integer minchosen;
	
	@Column(name = "MAXCHOSEN", nullable = false)
	private Integer maxchosen;
	
	@Column(name = "SEPARATER", length = 5, nullable = false)
	private String separator;
	
	@Column(name = "ASSISTANT", nullable = false)
	private Boolean assistant;
	
	@Column(name = "DEEP", nullable = false)
	private Integer deep;

	public Integer getRuleId() {
		return ruleId;
	}

	public void setRuleId(Integer ruleId) {
		this.ruleId = ruleId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public Integer getWrap() {
		return wrap;
	}

	public void setWrap(Integer wrap) {
		this.wrap = wrap;
	}

	public String getBig() {
		return big;
	}

	public void setBig(String big) {
		this.big = big;
	}

	public String getEven() {
		return even;
	}

	public void setEven(String even) {
		this.even = even;
	}

	public Integer getMinchosen() {
		return minchosen;
	}

	public void setMinchosen(Integer minchosen) {
		this.minchosen = minchosen;
	}

	public Integer getMaxchosen() {
		return maxchosen;
	}

	public void setMaxchosen(Integer maxchosen) {
		this.maxchosen = maxchosen;
	}

	public String getSeparator() {
		return separator;
	}

	public void setSeparator(String separator) {
		this.separator = separator;
	}

	public Boolean getAssistant() {
		return assistant;
	}

	public void setAssistant(Boolean assistant) {
		this.assistant = assistant;
	}

	public Integer getDeep() {
		return deep;
	}

	public void setDeep(Integer deep) {
		this.deep = deep;
	}


}
